package edu.sctu.practice.class01.zhoumengxue.practice02;

/**
 * Created by ASUS on 2015/11/5.
 */
public class StaticPage {

    public String documentName;
    public String newName;

    public StaticPage(String documentName,String newName){
        this.documentName = documentName;
        this.newName = newName;
    }

    public void start(){
        System.out.println("开始上课！");
    }

    public void setNewDocument(){
        System.out.println("文档名字："+documentName);
    }

    public void changeName(){
        System.out.println("改变名字："+newName);
    }

    public void setCss(){
        System.out.println("新建Css样式");
    }

    public void setJs(){
        System.out.println("新建JS样式");
    }

    public void perform(){
        System.out.println("网页上执行！");
    }

    public void process(){
        start();
        setNewDocument();
        changeName();
        setCss();
        setJs();
        perform();
    }

    
}
